Ext.define('cc.util.NoselfService', {
	uses: ['bmc.common.util.Ajax'],
	
	/**
	 * 获取实体
	 */
	getNoSelfBus: function(key, cb, fb){
		Bmc.Ajax.get('cc/noselfbus/get', {
			id: key
		}, cb, fb);
	},
	/**
	 * 创建实体
	 */
	createNoSelfBus: function(data, cb, fb){
		Bmc.Ajax.post('cc/noselfbus/create', data, cb, fb);
	},
	/**
	 * 更新实体
	 */
	updateNoSelfBus: function(data, cb, fb){
		Bmc.Ajax.post('cc/noselfbus/update', data, cb, fb);
	},
	/**
	 * 删除实体
	 */
	deleteNoSelfBus: function(key, cb, fb){
		Bmc.Ajax.post('cc/noselfbus/delete', {
			id: key
		}, cb, fb);
	}
}, function() {
	CC.Noself = new this();
});
